package com.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 库存表
 * </p>
 *
 * @author zhangshiqi
 * @since 2020-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("goods_stock")
public class GoodsStockPo extends BasePojo implements Serializable {

    @TableId(value = "stock_id", type = IdType.AUTO)
    private Integer stockId;
    /**商品id*/
    private Integer goodsId;
    /**规格*/
    private String specifications;
    /**颜色*/
    private String color;
    /**市场价*/
    private Double marketValue;
    /**销售价格*/
    private Double price;
    /**库存*/
    private Integer stock;
    /**库存预警值*/
    private Integer alertValue;
    /**计量单位*/
    private String measurement;
    /**商品重量*/
    private String weight;


}
